package com.caine.order.feign.fallback;

import com.caine.order.feign.IPaymentFeignService;
import com.caine.order.vo.OrderVO;
import org.springframework.stereotype.Component;

/**
 * @Author: CaineZhu
 * @Description:
 * @Date: Created in 18:57 2021/1/4
 * @Modified By:
 */
@Component
public class PaymentFeignServiceImpl implements IPaymentFeignService {
    @Override
    public boolean pay(OrderVO vo) {
        throw new RuntimeException("支付失败");
    }
}
